Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: SaveMachedNode now matches with trailing empty wildcards #356

Merged
merged 3 commits into from
Aug 14, 2020

Conversation

sk-
Copy link
Contributor

@sk- sk- commented Aug 2, 2020

Summary

Note that SaveMatchedNode was already matching leading empty wildcards, however its value is incorrect due to #337. This is why the test for the leading wildcards are failing, and will be so until #355 is merged.

This fixes #336.

Test Plan

Unit tests

Note that SaveMatchedNode was already matching leading empty wildcards, however it's value is incorect due to Instagram#337. This is why the test for the leading wildcards are failing, and will be so until Instagram#355 is merged.

This fixes Instagram#336.
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 2, 2020
@jimmylai
Copy link
Contributor

@sk- can you rebase to fix the conflicts and failed tests?

@sk-
Copy link
Contributor Author

sk- commented Aug 14, 2020

@jimmylai Just rebased it, now the tests pass.

Copy link
Contributor

@jimmylai jimmylai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix! Your contribution is appreciated!

@jimmylai jimmylai merged commit e43ef3e into Instagram:master Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] SavedMatchedNode affects matching
3 participants